package org.erp.spu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.erp.spu.entity.SpuTemplateRelease;
import org.erp.spu.entity.vo.SpuTemplateReleaseExcelVo;
import org.erp.spu.entity.vo.SpuTemplateReleaseVo;

import java.util.List;

@Mapper
public interface SpuTemplateReleaseMapper extends BaseMapper<SpuTemplateRelease> {

    List<SpuTemplateReleaseExcelVo> getReleaseListByTemplateId(Long templateId);

    SpuTemplateReleaseVo getByTemplateId(Long templateId);
}
